<div class="container_wrap">
    <div>
        <form id="cateForm" id="cateForm" method="post" action="" onsubmit="Cate.add(); return false;">
        <input type="hidden" name="mode" id="mode" value="" />
        <input type="hidden" name="o_cate_num" id="o_cate_num" value="" />
        <input type="text" name="cate_name" id="cate_name" value="" class="input_text" maxlength="30" /> 
        <button type="submit" class="button middle green">등록</button>
        </form>
    </div>
    
    <table class="tbl wd500">
    <colgroup>
    <col width="80" />
    <col width="*" />
    <col width="80" />
    </colgroup>
    <thead>
    <tr>
        <th>코드</th>
        <th>카테고리 명</th>
        <th>비고</th>
    </tr>
    </thead>
    <tbody>
    <?php 
    for ($i = 0, $iLen = count($aCateList); $i < $iLen; $i++) {
        $_row = $aCateList[$i];
        
        echo '<tr>';
        echo '    <td>'.$_row['cate_num'].'</td>';
        echo '    <td>'.htmlspecialchars($_row['cate_name']).'</td>';
        echo '    <td><a href="javascript:;" class="button middle gray">수정</a></td>';
        echo '</tr>';
    }
    ?>
    </tbody>
    </table>
</div>